textview: use pixelcache to indirectly renderer to widget.
authorChristian Hergert <christian@hergert.me>
Sun, 25 Aug 2013 04:35:48 +0000 (21:35 -0700)
committerAlexander Larsson <alexl@redhat.com>
Mon, 26 Aug 2013 19:17:45 +0000 (21:17 +0200)
commitd96882bc163ee18969c760f1065ec26a3b5a34c2
tree27bdf6b7d73e09aed0e52b1813e9a906c919b263
parentb1745d68cd47e2fe96ba81e8ac0a6949b118517a
textview: use pixelcache to indirectly renderer to widget.

This patch uses GtkPixelCache to render the contents of the widget,
and typically a bit more, to an offscreen surface. The pixel cache in
turn manages rendering to the actual surface for the widget.

The current strategy for the size to render is the size of the widget
plus half the height.

https://bugzilla.gnome.org/show_bug.cgi?id=701125
gtk/gtktextview.c